package com.dididoctor.patient.Utils;

/**
 * Created by mahuihuang on 15/4/15.
 */
public class ImageInfo {

    private long id = 0;//图片id
    private String key = null;//文件的唯一标识
    private int type = 0;//图片类型 0:资源图片 1:本地图片 2:上传到文件服务器的网络图片 3:上传到应用服务器的网络图片
    private int resource = 0;//图片资源地址
    private String url = null;//本地或网络图片的url 或uri
    private String ids = null;
    private boolean canDelete = true;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getResource() {
        return resource;
    }

    public void setResource(int resource) {
        this.resource = resource;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public boolean isCanDelete() {
        return canDelete;
    }

    public void setCanDelete(boolean canDelete) {
        this.canDelete = canDelete;
    }
}
